﻿using BCEntity.WeChatComponent.WeChatAccessToken;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCData.WeChatComponent.WeChatAccessToken
{
    /// <summary>
    /// 微信AccessToken数据处理接口
    /// </summary>
    public interface IWeChatAccessTokenData
    {
        /// <summary>
        /// 更新AccessToken
        /// </summary>
        /// <param name="weChatAccessTokenEntity">微信AccessToken信息</param>
        /// <returns></returns>
        WeChatAccessTokenEntity Update(WeChatAccessTokenEntity weChatAccessTokenEntity);
        /// <summary>
        /// 获取AccessToken信息
        /// </summary>
        /// <returns></returns>
        WeChatAccessTokenEntity Get();
    }
}
